<?php
class Helper_Locale
{
    var $month;

    function Helper_Locale()
    {
        // The Months
        $this->month['01'] = 'January';
        $this->month['02'] = 'February';
        $this->month['03'] = 'March';
        $this->month['04'] = 'April';
        $this->month['05'] = 'May';
        $this->month['06'] = 'June';
        $this->month['07'] = 'July';
        $this->month['08'] = 'August';
        $this->month['09'] = 'September';
        $this->month['10'] = 'October';
        $this->month['11'] = 'November';
        $this->month['12'] = 'December';
    }

    function getMonth($monthNumber){
        return $this->month[$this->zeroise($monthNumber, 2)];
    }

    function zeroise($number, $threshold) {
        return sprintf('%0'.$threshold.'s', $number);
    }

}